/**
 * MoveKnot.h
 * Coyright (c) 2009 Xiaofeng Gu. All Rights Reserved.
 * Author : Xiaofeng Gu
 *
 * Creation Data : 2009/07/23
 */
#pragma once

#include "Vec.h"
#include "SKPipeline.h"
#include "SKObjectMove.h"

class CKnot;

class CMoveKnot : public CSKDistributor
{
public:
	DECALRE_INTERFACE_PART(OnExecute);

	CMoveKnot(ISKPipeline* pNextProcess, CProcessDraft* pData)
		: CSKDistributor(pNextProcess, pData)
	{}

	virtual ~CMoveKnot() {}

protected:
	void					Move(const CSKObjectMoveObject& move);
	void					Move(CVec& moveVec);
	void					Move(double distance);
	CTransNode*				GetHighLightNode();

private:
	CKnot*				m_pKnot;
};